<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" />
<html lang="en">
<head>
    <meta charset="utf-8"/>
    <meta name="description" content=""/>
    <meta name="keywords" content=""/>
    <title>大旅通 - 旅游交易系统</title>
    <link rel="shortcut icon" href="http://cdn.lydlr.com/public/images/favicon.ico"/>
    <link href="http://apps.bdimg.com/libs/bootstrap/3.2.0/css/bootstrap.css?v=1" rel="stylesheet"/>
    <link href="http://cdn.lydlr.com/public/css/capacity.css?v=2" rel="stylesheet"/>
    <link href="__PUBLIC__/system/index.css?v=9" rel="stylesheet"/>
    <link rel="stylesheet" href="http://cdn.lydlr.com/public/artDialog-6.0.4/ui-dialog.css"/>
    <link href="http://cdn.lydlr.com/public/css/top.css?v=3" rel="stylesheet"/>
    <script src="http://cdn.lydlr.com/public/js/html5shiv.js"></script>
    <style>
        .dropdown-menu li a:hover {
            background: #ccc;
        }
    </style>
</head>
<body>
<header class="header">
    <div class="navtop">
        <div class="wrapper text-right" style="position:relative;background: #255E89">
            <if condition="$Think.session.entity_type eq 1">
                <span class="glyphicon glyphicon-user" style="margin-right:-15px;color:#96e7fa"></span>
                <span class="username"><span style="color:#fff;">北京平台中心</span></span>
            <elseif condition="$Think.session.entity_type eq 2"/>
                <span class="glyphicon glyphicon-user" style="margin-right:-15px;color:#ffffff"></span>
                <span class="username"><span style="color:#fff;">{$Think.session.entity_name}</span></span>
            <elseif condition="$Think.session.entity_type eq 3"/>
                <span class="glyphicon glyphicon-user" style="margin-right:-15px;color:#fd3149"></span>
                <span class="username"><span style="color:#fff;">{$Think.session.entity_name}</span></span>
            <else/>
                <span class="glyphicon glyphicon-user" style="margin-right:-15px;color:#ffb20e"></span>
                <span class="username"><span style="color:#fff;">{$Think.session.entity_name}</span></span>
            </if>
                {$Think.session.name} ({$Think.session.baker_login_name})
            <a onclick="loginOut()" style="cursor: pointer"> 退出登录</a>
            <input type="hidden" id="loginOut" value="{:U('Manager/logout')}"/>
        </div>
    </div>
    <div class="navbot">
        <div class="wrapper clearfix" style="background: #F7FAFA">
            <div class="logo pull-left"><a href="#"><img src="http://cdn.lydlr.com/public/system/images/logo.png"/></a>
            </div>
            <ul class="pull-left item">
                <volist name="pauth_info" id="v">
                    <li>
                        <a href="__MODULE__/{$v.controller}/{$v['action']}/id/{$v.id}{:C('TMPL_TEMPLATE_SUFFIX')}"
                           target="_self">
                            <i class="i-{$v.icon}"></i>
                            <span
                            <if condition="$v['id'] eq I('id')">class="w hovers"
                                <else/>
                                class="w"
                            </if>
                            >{$v.name}</span>
                        </a>
                    </li>
                </volist>
            </ul>
        </div>
    </div>
</header>